export default {
  getdriverArea() {
    var cardNumberData = [];
    var cardNumber = [];
    var cardNumbertwo = [];
    var driverArea = [
      '京',
      '赣',
      '湘',
      '津',
      '鄂',
      '沪',
      '粤',
      '渝',
      '琼',
      '冀',
      '川',
      '晋',
      '贵',
      '辽',
      '云',
      '吉',
      '陕',
      '黑',
      '甘',
      '苏',
      '青',
      '浙',
      '皖',
      '藏',
      '闽',
      '蒙',
      '桂',
      '鲁',
      '宁',
      '豫',
      '新'
    ];
    var character = [
      'A',
      'B',
      'C',
      'D',
      'E',
      'F',
      'G',
      'H',
      'J',
      'K',
      'L',
      'M',
      'N',
      'P',
      'Q',
      'R',
      'S',
      'T',
      'U',
      'V',
      'W',
      'X',
      'Y',
      'Z'
    ];
    for (var j in character) {
      let objtwo = {
        text: character[j]
      };
      cardNumbertwo.push(objtwo);
    }
    for (var i in driverArea) {
      let obj = {
        text: driverArea[i],
        children: cardNumbertwo
      };
      cardNumber.push(obj);
    }
    cardNumberData.push(cardNumber);
    // console.log(cardNumberData);
    return cardNumberData;
  }
};